package myschool.myshchool15.mystudent;

import java.util.Scanner;

public class IfStatement {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入张浩的Java成绩：");
        //提示输入
        int score = input.nextInt();
        //从控制台得到数字
        if(score>90) {
            //判断是否大于90
            System.out.println("老师说：不错，奖励一个MP4！");
        }else {
            System.out.println("惩罚进行编码");
        }
    }


}
